/* header */
body {
  width: 100%;
  min-width: 1240px;
}
header{
  background-color: rgb(221, 221, 221);
  width: 100%;
}
header > .headbox {
  width: 100%;
  background-color: #fff;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd ;
  position: fixed;
  top: 0;
  z-index: 2;
  background-image: url("../img/sm_icon/ymslogo.png");
  background-size: auto 58px;
  background-repeat: no-repeat;
  background-position-x: 10%;
}
header >div .shou {
  width: 40%;
  min-width: 400px;
  margin: auto;
}
header >div .shou ul {
  display: flex;
  justify-content: space-around;
}
header >div .shou ul li a{
  box-sizing: border-box;
  display: block;
  width: 100px;
  height: 58px;
  font-size: 20px;
  line-height: 58px;
  text-align: center;
  color: #999;
}
header >div .shou ul li a:hover{
  color: rgb(246, 109, 86);
  border-bottom: 2px solid rgb(246, 109, 86);
  background-color: rgb(248, 248, 248);
}
.log, .user {
  position: absolute;
  top:0;
  right: 0;
  float: right;
}
.user {
  display: none;
}
.log a, .user a ,.user span{
  box-sizing: border-box;
  display: inline-block;
  width: 80px;
  height: 58px;
  font-size: 20px;
  line-height: 58px;
  text-align: center;
  color: #999;
}
.log a:hover {
  color: rgb(246, 109, 86);
  border-bottom: 2px solid rgb(246, 109, 86);
  background-color: rgb(248, 248, 248);
}
/* .log {
  display: none;
} */
.user a {
  vertical-align: top;
  width: 58px;
  background: url("../img/defaultavatar.jpg") no-repeat;
  background-size: 100% auto;
  border-radius: 50%;
}
.user span {
  width: 120px; 
  text-align: center;
}
.user a:hover {
  border: 2px solid  rgb(246, 109, 86);
}  